//
//  PYPhotoAlbum.h
//  test
//
//  Created by Jim on 2018/2/6.
//  Copyright © 2018年 Jim. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void (^PYPhotoFinishBlock) (NSArray<UIImage *> *photos);

typedef void (^PYVideoFinishBlock) (NSURL *url, UIImage *cover, NSInteger duration);

@interface PYPhotoAlbum : NSObject

+ (void)photoMaxCount:(NSInteger)maxCount didFinishBlock:(PYPhotoFinishBlock)photoFinishBlock;

+ (void)videoDidFinishBlock:(PYVideoFinishBlock)videoFinishBlock;

@end
